new Promise((resolve, reject) => {
    resolve();
    return new Promise;
}).then(() => {
    setTimeout(() => {
        console.log("promsie 1");
    }, 1000)
    return new Promise((resolve, reject) => {
        resolve();
    })
}).then(() => {
    setTimeout(() => {
        console.log("promsie 2");
    }, 1000)
    return new Promise((resolve, reject) => {   
        resolve();        
    })
}).then(() => {
    setTimeout(() => {
        console.log("promsie 3");
    }, 1000);
    return new Promise((resolve, reject) => {
        resolve();
    })
}).then(() => {
    setTimeout(() => {
        console.log("promsie 4");
    }, 1000)    
})